package me.aartikov.alligator.exceptions;


import me.aartikov.alligator.Screen;

/**
 * Exception thrown when an implicit intent can't be resolved.
 */
public class AbilityResolvingException extends NavigationException {
	private Screen mScreen;

	public AbilityResolvingException(Screen screen) {
		super("Failed to resolve an activity for a screen " + screen.getClass().getSimpleName());
		mScreen = screen;
	}


	public Screen getScreen() {
		return mScreen;
	}
}
